Lightweight Analysis of Acyclic Unshared Lists

نویسندگان

  • Roman Manevich
  • Shuvendu K. Lahiri
  • Mooly Sagiv
چکیده

We describe a simple analysis for tracking properties such as may-aliasing, memory leaks, and disjointness for programs manipulating singly-linked lists. We restrict the set of programs we consider to ones that manipulate acyclic and unshared lists. We benefit from these restrictions in terms of simplicity and efficiency of the algorithm. We demonstrate that most common list-manipulating programs satisfy the above restrictions or can be locally transformed to meet the requirements. Our algorithm successfully answers may-aliasing, memory leak and disjointness queries for these programs. The analysis also allows us to prove interesting summary content properties that relate the contents of a set of input lists to a procedure with the content of lists returned

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Shape Analysis for Composite Data Structures

We propose a shape analysis that adapts to some of the complex composite data structures found in industrial systems-level programs. Examples of such data structures include “cyclic doubly-linked lists of acyclic singly-linked lists”, “singly-linked lists of cyclic doublylinked lists with back-pointers to head nodes”, etc. The analysis introduces the use of generic higher-order inductive predic...

متن کامل

A new approach to compute acyclic chromatic index of certain chemical structures

An acyclic edge coloring of a graph is a proper edge coloring such that there are no bichromatic cycles. The acyclic chromatic index of a graph $G$ denoted by $chi_a '(G)$ is the minimum number $k$ such that there is an acyclic edge coloring using $k$ colors. The maximum degree in $G$ denoted by $Delta(G)$, is the lower bound for $chi_a '(G)$. $P$-cuts introduced in this paper acts as a powerfu...

متن کامل

Two-Processor Scheduling of General Acyclic SWITCH-less Program Nets via Hybrid Priority Lists

This paper deals with two-processor scheduling for general acyclic SWITCH-less program nets with random node firing times. First, we introduce a hybrid priority list L∗ that has been shown to generate optimal schedules for the acyclic SWITCH-less program nets with unity node firing times, of which AND-nodes possess at most single input edge. Then considering the factors of existence of the AND-...

متن کامل

Introducing a Lightweight Structural Model via Simulation of Vernacular “Pa Tu Pa” Arch

The knowledge of Iranian vernacular structures is based on geometry, and there is a possibility of recreating such structural patterns aimed at producing movable structures. The purpose of this research was to utilize the patterns of vernacular structures to provide a lightweight structural model. The questions raised included how to create various forms based on the structural history of any r...

متن کامل

Towards Model-Checking Programs with Lists

We aim at checking safety and temporal properties over models representing the behavior of programs manipulating dynamic singly-linked lists. The properties we consider not only allow to perform a classical shape analysis, but we also want to check quantitative aspect on the manipulated memory heap. We first explain how a translation of programs into counter systems can be used to check safety ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006